Renamed declaredNamespace to declareNamespace