Removed BagBucketFactory from the 'type' definition in bags.