Make event triggering pluggable.
Merge pull request #49 from lukemelia/trigger-behavior

Make event triggering pluggable.