Change from "residuals" to "residual" as a resampling method key.