Roxygen2 4.0

Removed @S3method and replaced with @export.