 		try super.init(from: decoder)
         try self.quietThrowingChanges {
 			let values = try decoder.container(keyedBy: DocumentMetadataCodingKeys.self)
+			self.version = try values.decode(Int.self,forKey:.version)
 			self.spaceUID = try values.decode(String.self,forKey:.spaceUID)
 			self.persistentUID = try values.decode(String.self,forKey:.persistentUID)
 			self.currentUserUID = try values.decode(String.self,forKey:.currentUserUID)

    /// Return all the exposed instance variables keys. (Exposed == public and modifiable).
    override  open var exposedKeys:[String] {
        var exposed=super.exposedKeys
        exposed.append(contentsOf:["spaceUID","persistentUID","currentUserUID","currentUserEmail","currentUserFullPhoneNumber","sugar","lockerUID","userHasBeenControlled","secondaryAuthFactorRequired","identificationMethod","appGroup","identificationValue","collaborationServerURL","registred","changesAreInspectables","cleanupBoxesWhenClosingDocument","collectionsMetadata","statesDictionary","URLBookmarkData","preferredFileName","triggersIndexesDebugHistory","ownedTriggersIndexes","lastIntegratedTriggerIndex","receivedTriggers","operationsQuarantine","bunchInProgress","totalNumberOfOperations","pendingOperationsProgressionState","shouldBeOnline","online","transition","pushOnChanges","saveThePassword","cumulatedUpMetricsDuration","totalNumberOfUpMetrics","qosIndice"])
        return exposed
    }




    enum DocumentMetadataCodingKeys: String,CodingKey{
		case version
		case spaceUID
		case persistentUID
		case currentUserUID
