Clean up some pylint warnings.