changed @export for s3 methods to @S3method