Add type hints to public functions and classes that are missing them. This improves IDE support and developer experience.