Support for groups. Untested.