Change iteration counter to use uuids.