work with last plugin_registrar API now