 
 // MARK: - Store add helpers
 
-    func addSQLitePersistentStoreWithURL(url: NSURL, automigrating: Bool, error: NSErrorPointer)
+    func addSQLitePersistentStoreWithURL(url: NSURL, automigrating: Bool)
     {
         let addStore: () -> Void = {
             let options = [

                NSSQLitePragmasOption: ["journal_mode": "WAL"]
            ];

            self.addPersistentStoreWithType(NSSQLiteStoreType, configuration: nil, URL: url, options: options, error: error)
        }

        addStore()


extension NSPersistentStoreCoordinator
{
    public class func coordinatorWithPersistentStore(URL optionalURL: NSURL?, automigrating: Bool, managedObjectModel optionalManagedObjectModel: NSManagedObjectModel?) -> NSPersistentStoreCoordinator?
    {
        var coordinator: NSPersistentStoreCoordinator?

        // Fallback on the defaults
        let _managedObjectModel = optionalManagedObjectModel ?? NSManagedObjectModel.mergedModelFromBundles(nil)
        let _URL = optionalURL ?? NSPersistentStore.URLForStoreName("CoreDataKit")

        // Initialize coordinator if we have all data
        switch ((_managedObjectModel, _URL)) {
            case let (.Some(managedObjectModel), .Some(URL)):
                coordinator = NSPersistentStoreCoordinator(managedObjectModel: managedObjectModel)
                coordinator?.addSQLitePersistentStoreWithURL(URL, automigrating: automigrating)

            default:
                break
