Now creates a collection factory