Cleaned up autodoc and pep8 issues.