Fixed pylint issues.