docs: function createRouteMap (routes) {
  	  var pathMap = Object.create(null)
  	  var nameMap = Object.create(null)
  	
  	  routes.forEach(function (route) {
  	    addRouteRecord(pathMap, nameMap, route)
  	  })
  	
  	  return {
  	    pathMap: pathMap,
  	    nameMap: nameMap
  	  }
  	}