Move create sequence logic to separate CreateSequenceCompiler