Convert @s3method to @export