Fix EventEmitter.