Object.defineProperties(Location.prototype, {

      /**
       * Creates and returns a new Location with the path and query of
       * the given location appended.