Changed the docstrings to fit pydoc syntax.