Changes to how CompositeStates get their event listeners.