Add s3 support.