Pylint fixes in models.mixins