Sequencer class implementation.