         }
     }
 
-    private function loadConfigModule():void
-    {
-        if (Log.isInfo())
-        {
-            LOG.info('Loading XML module: {0}', config.url);
-        }
-
-        var moduleConfig:XML = readModuleConfig(config);
-        if (moduleConfig)
-        {
-            var customWidgetType:CustomWidgetType = parseCustomWidgetType(moduleConfig);
-            if (customWidgetType)
-            {
-                dispatchComplete(customWidgetType);
-                return;
-            }
-        }
-
-        dispatchError();
-    }
-
     private function loadModule():void
     {
         if (Log.isInfo())

        dispatchComplete(widgetType);
    }

    private function dispatchComplete(widgetType:WidgetType):void
    {
        if (Log.isInfo())
        {
            LOG.info('Module load complete: {0}', name);
        }

        dispatchEvent(new WidgetTypeLoaderEvent(WidgetTypeLoaderEvent.LOAD_COMPLETE, widgetType));
    }

    private function getWidgetType(moduleInfo:IModuleInfo, builderModule:IBuilderModule, moduleConfig:XML):WidgetType
    {
        var customModulesDirectoryURL:String = WellKnownDirectories.getInstance().customModules.url;

        }

        return configXML;
    }

    private function parseCustomWidgetType(configXML:XML):CustomWidgetType
