Move sequences into their own class.