Fixed pylint problems.