Moving it to SequencerUtil, since that's where it's used.