 				}
 			}
 		}
-		if (!loc.templatePathExists && ListFindNoCase(variables.$class.formats.existingTemplates, arguments.$name))
-		{
-			loc.templatePathExists = true;
-		}
-	</cfscript>
-	<cfreturn loc.templatePathExists>
+		if (!loc.returnValue && ListFindNoCase(variables.$class.formats.existingTemplates, arguments.$name))
+		{
+			loc.returnValue = true;
+		}
+	</cfscript>
+	<cfreturn loc.returnValue>
 </cffunction>
 	
 <cffunction name="$requestContentType" access="public" output="false" returntype="string">
-	<cfargument name="params" type="struct" required="false" default="#variables.params#" />
-	<cfargument name="httpAccept" type="string" required="false" default="#request.cgi.http_accept#" />
-	<cfscript>
-		var loc = {};
-		loc.format = "html";
-		
-		// see if we have a format param
+	<cfargument name="params" type="struct" required="false" default="#variables.params#">
+	<cfargument name="httpAccept" type="string" required="false" default="#request.cgi.http_accept#">
+	<cfscript>
+		var loc = {};
+		loc.returnValue = "html";
 		if (StructKeyExists(arguments.params, "format"))
 		{
-			return arguments.params.format;
-		}
-
-		for (loc.item in application.wheels.formats)
-		{
-			if (arguments.httpAccept contains application.wheels.formats[loc.item])
-			{
-				return loc.item;
-			}
-		}
-	</cfscript>
-	<cfreturn loc.format>
+			loc.returnValue = arguments.params.format;
+		}
+		else
+		{
+			loc.formats = get("formats");
+			for (loc.item in loc.formats)
+			{
+				if (FindNoCase(loc.formats[loc.item], arguments.httpAccept))
+				{
+					loc.returnValue = loc.item;
+					break;
+				}
+			}
+		}
+	</cfscript>
+	<cfreturn loc.returnValue>
 </cffunction>
	<cfscript>
		var loc = {};
		loc.templatePath = $generateIncludeTemplatePath($type="page", $name=arguments.$name, $template=arguments.$name);
		loc.templatePathExists = false;
		if (!ListFindNoCase(variables.$class.formats.existingTemplates, arguments.$name) && !ListFindNoCase(variables.$class.formats.nonExistingTemplates, arguments.$name))
		{
			if (FileExists(ExpandPath(loc.templatePath)))
			{
				loc.templatePathExists = true;
			}
			
			if (application.wheels.cacheFileChecking)
			{
				if (loc.templatePathExists)
				{
					variables.$class.formats.existingTemplates = ListAppend(variables.$class.formats.existingTemplates, arguments.$name);
				}

		</cffunction>
	'
	categories="controller-initialization,provides" chapters="responding-with-multiple-formats" functions="onlyProvides,renderWith">
	<cfargument name="formats" required="false" default="" type="string" hint="Formats to instruct the controller to provide. Valid values are `html` (the default), `xml`, `json`, `csv`, `pdf`, and `xls`.">
	<cfscript>
		var loc = {};
		$combineArguments(args=arguments, combine="formats,format", required=true);
