Replace @s3method with @export