public String[] getTemplateNames() {
   if (template != null) {
     return template.getSourceNames();
   }
   return null;
 }