Accept a layout argument to replace global layout, viewPath -> viewPathPrefix.