Change to make Context an EventEmitter