Make process an EventEmitter.