Add S3 Support, changing the API a bit.

Trailing whitespace detected.