docs: def search_get_class_names(cls):
          """
          Returns class names for use in document indexing.
          """
          if hasattr(cls, '_class_key'):
              class_names = []
              for n in cls._class_key():
                  class_names.append(n)
              return class_names
          else:
              return [cls.__name__]