Added Sequence/Bag/Tally/Set Factory pattern