Replace embedded EventEmitter with eventemitter2