@Override
  public void addInternalEntity(String name, String value) {
    if (!entities.containsKey(name)) {
      entities.put(name, value);
    }
  }
@Override
  public void addInternalEntity(String name, String value)