public function IncludePlugins($EnabledPlugins = NULL) {

      // Include all of the plugins.
      if (is_null($EnabledPlugins))
         $EnabledPlugins = $this->EnabledPlugins();

      $PluginManager = &$this;
      // Get a list of files to include.
      foreach ($EnabledPlugins as $PluginName => $Trash) {
         $PluginInfo = $this->GetPluginInfo($PluginName);

         $ClassName = GetValue('ClassName', $PluginInfo, FALSE);
         $ClassFile = GetValue('RealFile', $PluginInfo, FALSE);

         if ($ClassName !== FALSE && !class_exists($ClassName, FALSE))
            if (file_exists($ClassFile))
               include_once($ClassFile);

      }
   }