Added a slew of error handling parameters into the callbacks. Breaks api, v0.2.0 imminent.