Switched the ordering of the event and model arguments. Fixes #5