add: support for EventEmitter