Updated the Amazon S3 class.