Fix type hints for parameter documentation