Modified SpreadsheetClient.cs