code: public SerializerBuilder addSerializer(com.esotericsoftware.kryo.Serializer serializer, Class<?>... types) {
      namespaceBuilder.register(serializer, types);
      return this;
    }
docs: Adds a serializer to the builder.
  
  @param serializer the serializer to add
  @param types the serializable types
  @return the serializer builder