Updated the documentation to use roxygen2