Re-documented using roxygen2 (4.0.0)