docs: @SuppressWarnings("unchecked")
      public <REPO extends I_CmsRepository> REPO getRepository(String name, Class<REPO> cls) {
  
          I_CmsRepository repo = getRepository(name);
          if (repo == null) {
              return null;
          }
          if (cls.isInstance(repo)) {
              return (REPO)repo;
          } else {
              return null;
          }
  
      }