remove: function(res, rej) {
      return this.endpointPromise().then((function(endpoint) {
        return endpoint._remove();
      })).then(res, rej);
    }