Remove some pylint warnings.