Changes to allow roxygen2 (roxygenise) to document master function.