 # it is exposed, so that it can expose accurate link information. Accessor
 # properties are used because the structure is circular so we need some
 # laziness.
-navInContext = (nav, context) ->
+navInContext = (nav, context, root) ->
   Object.defineProperties
     title: nav.title
     # how you get here from there, but only if here is an actual place

      current.title = title ? current.title # overwrite defaults with non-nulls
      current.order = order ? current.order
      # use leaf to make the nav object
      nav = navInContext current, [path]
      # set properties of vinyl object XXX does this need error handling?
      for target in targets
        obj = file

      exists: no
      title: null
    orderGen = 9999
    root = {}

    through.obj (file, encoding, transformCallback) ->
      # if vinyl objects have different properties, take first that exists
