docs: def load_plugins(self, plugins):
          """
          Loads plugins that match the `Plugin` interface and are instantiated.
  
          :param plugins: A list of plugin instances.
          """
  
          def instantiate(plugin):
              return plugin() if inspect.isclass(plugin) else plugin
  
          loaded_plugins = []
          plugins_seen = []
  
          # Iterate over plugins in reverse to permit users to override default
          # plugin config
          for plugin in reversed(plugins):
              if not is_plugin(plugin) or plugin.name in plugins_seen:
                  continue
              # Build the plugins list in reverse to restore original order
              loaded_plugins.insert(0, instantiate(plugin))
              plugins_seen.append(plugin.name)
  
          return loaded_plugins