Add OnDemandEventDispatcher.as