Adds model validations