code: public static void registerSerializers(final Kryo kryo) {
          final TreeBasedTableSerializer serializer = new TreeBasedTableSerializer();
          kryo.register(TreeBasedTable.class, serializer);
      }
docs: Creates a new {@link TreeBasedTableSerializer} and registers its serializer.
  
  @param kryo the {@link Kryo} instance to set the serializer on