Refactored DataObjectCollection to use append and __getitem__ instead of add and pop