Extracted to InstructionMapper
Extracted to InstructionFlowEngine.