Better identifier naming, called objectName rather than key, which was easily confused with the AWS API key identifier.

Removed spurious semicolons.