Return an event Emitter with the API