better method resolution for S3 dispatch