Group completion matches by their type