It would be helpful to add a comment about why this is needed for s3.