Add the ability to publish an event