     private func setKey(key: NSString, armchairKeyType: ArmchairKey) {
         switch armchairKeyType {
         case .FirstUseDate:
-            armchairKeyFirstUseDate = key
+            armchairKeyFirstUseDate = key as String
         case .UseCount:
-            armchairKeyUseCount = key
+            armchairKeyUseCount = key as String
         case .SignificantEventCount:
-            armchairKeySignificantEventCount = key
+            armchairKeySignificantEventCount = key as String
         case .CurrentVersion:
-            armchairKeyCurrentVersion = key
+            armchairKeyCurrentVersion = key as String
         case .RatedCurrentVersion:
-            armchairKeyRatedCurrentVersion = key
+            armchairKeyRatedCurrentVersion = key as String
         case .DeclinedToRate:
-            armchairKeyDeclinedToRate = key
+            armchairKeyDeclinedToRate = key as String
         case .ReminderRequestDate:
-            armchairKeyReminderRequestDate = key
+            armchairKeyReminderRequestDate = key as String
         case .PreviousVersion:
-            armchairKeyPreviousVersion = key
+            armchairKeyPreviousVersion = key as String
         case .PreviousVersionRated:
-            armchairKeyPreviousVersionRated = key
+            armchairKeyPreviousVersionRated = key as String
         case .PreviousVersionDeclinedToRate:
-            armchairKeyPreviousVersionDeclinedToRate = key
+            armchairKeyPreviousVersionDeclinedToRate = key as String
         case .RatedAnyVersion:
-            armchairKeyRatedAnyVersion = key
+            armchairKeyRatedAnyVersion = key as String
         case .AppiraterMigrationCompleted:
-            armchairKeyAppiraterMigrationCompleted = key
+            armchairKeyAppiraterMigrationCompleted = key as String
         case .UAAppReviewManagerMigrationCompleted:
-            armchairKeyUAAppReviewManagerMigrationCompleted = key
+            armchairKeyUAAppReviewManagerMigrationCompleted = key as String
         }
     }
 

            }
        }

        userDefaultsObject?.setObject(NSNumber(bool: true), forKey: appReviewManagerAlreadyCompletedKey)
        userDefaultsObject?.synchronize()
    }


    private func _incrementCountForKeyType(incrementKeyType: ArmchairKey) {
        var incrementKey = keyForArmchairKeyType(incrementKeyType)

        let bundleVersionKey = kCFBundleVersionKey as String
        // App's version. Not settable as the other ivars because that would be crazy.
        let currentVersion = NSBundle.mainBundle().objectForInfoDictionaryKey(bundleVersionKey) as? String
        if currentVersion == nil {
            assertionFailure("Could not read kCFBundleVersionKey from InfoDictionary")
            return
