Writing class and method function docstrings