boolean remove(final String name, final Namespace namespace) {
    final int index = indexOf(name, namespace);
    if (index < 0) {
      return false;
    }
    remove(index);
    return true;
  }
boolean remove(final String name, final Namespace namespace)