Parse groups.