Move to have events being maps just like actions.