Abstract some validations into a mixin.