Add type hints to prevent unnecessary reflection.