Working towards Rcpp::exports + compileAttributes