Added support of withGroups for inspector shorthands.