Fix type hints.