@Override
 protected void readInternal(ObjectDataInput in) throws IOException {
   super.readInternal(in);
   data = in.readData();
 }
 @Override
 protected void writeInternal(ObjectDataOutput out) throws IOException {
   super.writeInternal(out);
   out.writeData(data);
 }