Move phone validation to model.