code: def load_message_classes():
      
      for message in pkg_resources.iter_entry_points("fedora.messages"):
          cls = message.load()
          _log.info(
              "Registering the '%s' key as the '%r' class in the Message "
              "class registry",
              message.name,
              cls,
          )
          _schema_name_to_class[message.name] = cls
          _class_to_schema_name[cls] = message.name
      global _registry_loaded
      _registry_loaded = True
docs: Load the 'fedora.messages' entry points and register the message classes.