Proper python docstrings on all functions part of the API