Adjusting Object IDs to the Java side.