Added EventEmitter inheritance