Suggested fix for aws/aws-sdk-js#244