@Override
 public void toData(DataOutput out) throws IOException {
   super.toData(out);
   InternalDataSerializer.invokeToData(this.currentServer, out);
 }
 @Override
 public void fromData(DataInput in) throws IOException, ClassNotFoundException {
   super.fromData(in);
   this.currentServer = new ServerLocation();
   InternalDataSerializer.invokeFromData(this.currentServer, in);
 }