In validation function, `this` is the object currently validating.