CSS classes for group membership? (For simplified UI mode)

Going back to the original question of group-specific CSS, I noticed that the body tag has the primary group in it:

<body class="primary-group-moderators">

Is there a way to add non-primary groups here too that doesn’t involve an additional HTTP request like @DeanMarkTaylor’s solution?