Fix pylint warnings.