Writing product validations.