public void init(Feature[] defs) {
   for (int i = 0; i < defs.length; i++) definitions.put(defs[i].getID(), defs[i]);
 }
 public void addDefinition(Feature definition) {
   definitions.put(definition.getID(), definition);
 }