More docstrings.
Flake8 cleanup.