Extending EventEmitter