Fixed many pep8 warnings.