Changed refs for R package