Attempting to change for Rcpp.