Registers validator
Registers Validator that should check instances of a kClass using block
Registers Validator that should check instances of a T using block
Registers Validator using DSL
validate {
filter { it is Int }
validation { check(it is Int); ... }
}