Cleaned up pylint complains.