Added NAMESPACE (required in R version 3)