Fixing EventDispatcher service provider.