             SugarRecord.handle(error!)
         }
     }
+    
+    // Cleanup
+    class func cleanUp () -> () {
+        Static.dPSC = nil
+    }
 }
 
 

// MARK - SugarRecord Methods
class SugarRecord {
    
    // Shared singleton instance
    struct Static {
        static var onceToken : dispatch_once_t = 0
        static var instance : SugarRecord? = nil

    
    
    // Threading //
    class func save(inBackground background: Bool, savingBlock: (context: NSManagedObjectContext) -> (), completion: (success: Bool, error: NSError?) -> ()) {
        dispatch_async(SugarRecord.backgroundQueue(), {
            self.save(true, savingBlock: savingBlock, completion: completion)
        })
    }
    
    class func save(synchronously: Bool, savingBlock: (context: NSManagedObjectContext) -> (), completion: (success: Bool, error: NSError?) -> ()) {
        // Generating context
        var privateContext: NSManagedObjectContext = NSManagedObjectContext.newContextWithParentContext(NSManagedObjectContext.rootSavingContext()!)
        
