Optimized code for SNS and SES.