Sequence factory improved.