Fix EventEmitter extending