@Override
 public void fromData(DataInput in) throws IOException, ClassNotFoundException {
   super.fromData(in);
   this.elementType = (ObjectType) DataSerializer.readObject(in);
 }
 @Override
 public void toData(DataOutput out) throws IOException {
   super.toData(out);
   DataSerializer.writeObject(this.elementType, out);
 }