Basic support for events. Look at tasks for the next TODOs.