Large rewrite of the event lifecycle architecture.