Handling of cross references of objects