 	<cfargument name="include" type="string" required="false" default="" hint="See documentation for @average.">
 	<cfargument name="distinct" type="boolean" required="false" hint="When `true`, `SUM` returns the sum of unique values only.">
 	<cfargument name="parameterize" type="any" required="false" hint="See documentation for @findAll.">
-	<cfargument name="ifNull" type="string" required="false" default="#application.wheels.functions.average.ifNull#" hint="The value returned if no records are found.">
+	<cfargument name="ifNull" type="any" required="false" hint="See documentation for @average.">
 	<cfscript>
 		$insertDefaults(name="sum", input=arguments);
 		arguments.type = "SUM";

		StructDelete(arguments, "distinct");
		
		loc.returnValue = findAll(argumentCollection=arguments).result;
		if (!Len(loc.returnValue) and Len(arguments.ifNull))
			loc.returnValue = arguments.ifNull;
	</cfscript>
	<cfreturn loc.returnValue>

	<cfargument name="include" type="string" required="true">
	<cfargument name="parameterize" type="any" required="true">
	<cfargument name="distinct" type="boolean" required="false" default="false">
	<cfargument name="ifNull" type="any" required="false" default="">
	<cfscript>
		var loc = {};

