Adding method to ensure that the object ID is safe for callbacks