Renamed 'event' stuff to mimic a pub/sub model.