public ConfigSection[] getConfigSections() {
   ArrayList<ConfigSection> list = ConfigSectionRepository.getInstance().getList();
   for (Iterator<ConfigSection> iter = list.iterator(); iter.hasNext(); ) {
     ConfigSection configSection = iter.next();
     if (configSection instanceof ConfigSectionHolder) {
       if (((ConfigSectionHolder) configSection).getPluginInterface() != this) {
         iter.remove();
       }
     }
   }
   return list.toArray(new ConfigSection[0]);
 }
 public void removeConfigSection(ConfigSection section) {
   ConfigSectionRepository.getInstance().removeConfigSection(section);
 }
 public void addConfigSection(ConfigSection section) {
   // Method is used by autocat.
   ConfigSectionRepository.getInstance().addConfigSection(section, this);
 }