Another global variable sucks.

Excluding groups is easy. I've done it in a lot of cases.