Added EventEmitter to app.