 			var ctor : Class;
 			if (target is Proxy)
 			{
-				//for classes extending Proxy, we can't access the 'constructor' property because the 
+				//for classes extending Proxy, we can't access the 'constructor' property because the
 				//Proxy will throw if we try. So let's take the scenic route ...
 				var name : String = getQualifiedClassName(target);
 				ctor = Class(getDefinitionByName(name));

			return injectionPoints;
		}
	}
}
		}

		public function mapClass(
			whenAskedFor : Class, instantiateClass : Class, named : String = "") : void
		{
			var config : InjectionConfig = new InjectionConfig(
				whenAskedFor, instantiateClass, InjectionConfig.INJECTION_TYPE_CLASS);
			addMapping(config, named);
		}
		
		public function mapSingleton(whenAskedFor : Class, named : String = "") : void
		{
			mapSingletonOf(whenAskedFor, whenAskedFor, named);
		}

		public function mapSingletonOf(
			whenAskedFor : Class, useSingletonOf : Class, named : String = "") : void
		{
			var config : InjectionConfig = new InjectionConfig(
				whenAskedFor, useSingletonOf, InjectionConfig.INJECTION_TYPE_SINGLETON);
