Extend EventEmitter.