Added generic object manipulation functions