Implement makeFlowSequence.