Modify code to support pep8 and pep257 coding standards.