Added configurations for a callback when a bad field is detected. Added configuration to throw an exception when a bad field is detected.
Updated version.