Multiple handlers per event type

Fixes #199.