Add a .deregister() method to the event loop.

Closes #29