add Rcpp Attributes