Add resources scan from plugin to InitContext.