Add validatorWithInlineValidation shortcut