static ID createGroupItem(String uid, ID[] items) {
    return nstLibrary.createGroupItem(uid, items == null || items.length == 0 ? null : items,
                                      items == null ? 0 : items.length); // called from AppKit, uses per-event autorelease-pool
  }
static ID createGroupItem(String uid, ID[] items)