Better to do it on a required field in model.