Made modules inherit/use EventEmitter object.