Merge pull request #148 from bgamari/initgroups