Changes to documentation to pass R CMD check