 						else if (loc.name == "setObject")
 						{
 							loc.method = "updateByKey";
-							arguments.missingMethodArguments.properties = $foreignKeyValues(keys=loc.info.foreignKey);
-							arguments.missingMethodArguments = $objectOrNumberToKey(arguments.missingMethodArguments);
+							$setForeignKeyValues(missingMethodArguments=arguments.missingMethodArguments, keys=loc.info.foreignKey);
+							$setObjectOrNumberToKey(arguments.missingMethodArguments);
 						}
 					}
 					else if (loc.info.type == "hasMany")

						{
							loc.method = "updateAll";
							arguments.missingMethodArguments.where = loc.where;
							arguments.missingMethodArguments.properties = $foreignKeyValues(keys=loc.info.foreignKey, setToNull=true);
						}
						else if (loc.name == "deleteAllObjects")
						{

		else
			arguments.missingMethodArguments.key = loc.keyOrObject;
	</cfscript>
</cffunction>

<cffunction name="$propertyValue" returntype="string" access="public" output="false">
