         for (key, value) in object.cloudKitRecordProperties() {
             self[key] = value
         }
+        parent = object.parentReference
     }
     
 }

    
    static var recordType: String { get }
    var cloudKitReference: CKReference { get }
}

public extension CloudKitSyncable {

    
    public var cloudKitReference: CKReference {
        return CKReference(recordID: cloudKitRecordID, action: .none)
    }
    
    public var parentReference: CKReference? {
        return nil
    }
    
}
