Commenting deprecation warnings, these warnings should be shown when defining the validation not when calling the validation.