code: function() {
          if(this.options && !this.options.format) {
              this.format.destroy();
          }
          this.format = null;
          OpenLayers.Protocol.prototype.destroy.apply(this);
      }
docs: APIMethod: destroy
  Clean up the protocol.