Cleared some PyLint errors.