Changing validations to the new 'validates' style