Added back calculatePartition and convertToSequence sub modules.