Specify when the service events are fired.

Fixes #20.