EventEmitter module for D