         
         var error : NSError?
         
-        var directoryFileWrapper: NSFileWrapper? = NSFileWrapper(URL: self.url, options:.Immediate, error:&error);
+        var directoryFileWrapper: NSFileWrapper? = NSFileWrapper(URL: url, options:.Immediate, error:&error);
         
         if let fileWrapper = directoryFileWrapper {
             if fileWrapper.directory {

    // MARK:  CRUD Property
    
    func updateProperty(aProperty: Property) {
        self.propertyStore.updateObject(aProperty)
    }

    func deleteProperty(aProperty: Property) {
        self.propertyStore.deleteObject(aProperty)
        
        aProperty.context = nil;
    }

    func createNode() -> Node {
        
        // TODO should support generics
        let result = nodeStore.createObject() as Node
        
        result.context = self
        
        return result;
    }
