BTW, this line is wrong. You should not override `exceptionOnInvalidType` or `objectSupport`.