The proper way to refer and document types in docstrings?