Fixed some pep/pylint violations.