Modified EventEmitterInjector to check that the client implements EventEmitterInterface