Rewrite docstrings in order to conform to pep 8.