Use an event emitter to communicate pipeline between routes.