Event publishing

Support for data-driven events.