Added methods for putGameData and getGameData.