PEP8 fix and docstrings.