code: function (name, params) {
          return {
            name: name || to.name,
            params: params ? Object.assign(to.params, params) : to.params,
            hash: to.hash,
            query: to.query
          }
        }
docs: Helper for defining the `next` object.