Using int for 64-bit values might cause issues with objects not found in ObjectDB when the id is truncated.