void (@NotNull Element state) { for (final FTManager manager : getAllManagers()) { final Element templatesGroup = state.getChild(getXmlElementGroupName(manager)); if (templatesGroup == null) continue; for (Element element : templatesGroup.getChildren(ELEMENT_TEMPLATE)) { loadTemplate(element, manager); for (Element child : element.getChildren(ELEMENT_TEMPLATE)) { loadTemplate(child, manager); } } } }