Looking at the older code, it looks like we used to use the DOMAIN_IDS type for UserGroups.  Should we remove that type now that it is no longer used?