Breaking changes: success/error callbacks called in context of record, not with record as argument.
Refactored callbacks in event.rb, added support for inline definition of success/error callbacks.