@S3method now deprecated, using @export instead