Add support for disabling global layout, overriding global viewPath.