Create Groups when merging