Made virgilio an eventEmitter.