The change aligns type hints with actual usage patterns, as the code expects class constructors that produce ToolParser instances. This improves static type checking accuracy and developer clarity.