Fixed the docstrings to be formatted well for Sphinx.