Formatting fixes to docstrings and method and class spacing