Refactor Emitter to remove a ConcurrentHashMap.