Added S3 support.