Add validation to Product model.