Adding $group->class to details tmpls.