public static Set<CustomChoice> createSet(Collection choices) {
    Set<CustomChoice> ret = new HashSet<>();
    for (Object o : choices) {
      ret.add(create(o, o.toString()));
    }

    return ret;
  }
public static Set<CustomChoice> createSet(Collection choices)