docs: def images_grouped_by_type(self):
          """
          :return: A generator yielding 2-tuples of (type, [creators]) where
          adjacent creators who share the same role are grouped together.
          """
          type = -1
          images = []
          for wc in self:
              if wc.type != type:
                  if images:
                      yield (type, images)
                  role = wc.role
                  creators = []
                  images.append(wc.image)
  
          if images:
              yield (type, images)