Allow for `Class@method` syntax to be used with `Validator::extend`. Closes #1061.