Pep8 and docstring fixes.