code: public void registerTag(String name, FreeMarkerTag tag){
          configuration.setSharedVariable(name, tag);
          userTags.add(tag);
      }
docs: Registers an application-specific tag.
  
  @param name name of tag.
  @param tag tag instance.