Added type hints.