Pep8 fixes and doc updates