Removes unnecessary subgroup capture.