Fixed pylint violations.