Move _group_to_parts() to the traverser.