Adding validations to Project model.