Refactored calls to 'Put' to use indexer syntax.