PEP8 and docstring fixes.