Changes to enable validation for objects generated by InputFormatter.