implement widget_factory with respect to new adplugin loader