Added EventEmitter for client + dependencies through composer.