Add missing type hints.