Added convertToSequenceIndex procedures.