Update logic after finding information about the group labels in the documentation.