Added hook for API docs from docstrings