code: @SuppressWarnings("unchecked")
    public AtomicDocumentTreeBuilder<V> withExtraTypes(Class<?>... extraTypes) {
      config.setExtraTypes(Lists.newArrayList(extraTypes));
      return this;
    }
docs: Sets extra serializable types on the map.
  
  @param extraTypes the types to set
  @return the document tree builder