       try! context.save()
     }
     
+    /**
+     Helper method to persist CloudKit custom zone subscription name used by the store.
+     
+     - parameter name: Name of the CloudKit custom zone subscription.
+     */
     func saveZoneSubscriptionName(name: String) {
       let preference = NSEntityDescription.insertNewObjectForEntityForName(Entity.name, inManagedObjectContext: context) as! Preference
       preference.key = Default.zoneSubscriptionName

    static let zoneName = "zoneName"
    static let zoneSubscriptionName = "zoneSubscriptionName"
  }
  // MARK: Entity

  struct Entity {
    static let name = "Seam_Preference"
    static var entityDescription: NSEntityDescription {

import Foundation
import CoreData

/// Preference is a subclass of NSManagedObject.. This class is added to the backing store model automatically and used by backing store to save some information about the store.
class Preference: NSManagedObject {
  
  @NSManaged var key: String?
