Adding validations to Categories