Updated casting for EventDispatcher

* Set as interface