Added hackish code to return uses of attribute groups