WIP: refactoring qcDispatcher.