Imputation code in place.