@Override
      public void onSchemeDeleted(@NotNull final TemplateGroup scheme) {
        for (TemplateImpl template : scheme.getElements()) {
          removeTemplate(template);
        }
      }
@Override
      public void onSchemeDeleted(@NotNull final TemplateGroup scheme)