public Section getTemplate(boolean checkForChanges) {
    if (checkForChanges || lastModified==-2)
      check();
    Section template=(Section)baseTemplate.cloneSelf(false);
    template.setTemplateInterceptor(interceptor);
    return template;
  }