static ImmutableSet<ObjectType> withLooseObjects(Set<ObjectType> objs) {
   ImmutableSet.Builder<ObjectType> newObjs = ImmutableSet.builder();
   for (ObjectType obj : objs) {
     newObjs.add(obj.withLoose());
   }
   return newObjs.build();
 }