Fix flake8 and pep257 issues in documentation.