Adding recursive dependency lookup to PluginStub