CompressedObject refactoring