proc setObjectId*(self: EncodedObjectAsID; id: int64) {.gcsafe, locks: 0.}
proc getObjectId*(self: EncodedObjectAsID): int64 {.gcsafe, locks: 0.}