Add currentSequenceValue() function.