Allow an object to subscribe to events.

Had fun pairing on this. I look forward to the next session.