@Override
 public void writeTo(StreamOutput out) throws IOException {
   super.writeTo(out);
   out.writeStringArray(features);
 }
 @Override
 public void readFrom(StreamInput in) throws IOException {
   super.readFrom(in);
   features = in.readStringArray();
 }