public <T extends DomElement> void runTemplate(final T t, final Editor editor, final @Nullable Template template) {
     runTemplate(t, editor, template, new HashMap<>());
  }
public <T extends DomElement> void runTemplate(final T t, final Editor editor, final @Nullable Template template)