add support for addModules plugin builder api