Rework emitter system to support custom output.