Reduce memory overhead during S3 signature creation (usemethod and group dispatch). Extract S3 signature lookup into a function.