                 if rv == undefined
                     return
 
-                if rv[propName] && rvID && (rv[propName] != rvID)
+                if rv.__nodeID && rvID && (rv.__nodeID != rvID)
                     throw new Error "id issue"
                 if rvID? && /^node\d+$/.test(rvID)
-                    if rv[nodes.propName] == undefined
+                    if rv.__nodeID == undefined
                         nodes.add(rv, rvID)
             #printMethodCall(target, method, args, rvID)
             if params instanceof Array

        #TODO: Need to have a "batch proces function".  Need to add "TagDocument"
        # TODO: clear needs to be able to be called on a certain document.
        @DOMUpdate = (params) ->
            processInstruction = (inst) ->
                # SPECIAL CASE
                # TODO: this is a quick hack.


module.exports = () ->
    nodes = new TaggedNodeCollection()

    dnodeConnection = DNode( (remote, conn) ->
        console.log "Connecting to server..."
