Removed duplicate code from DynamoDB::Client.