 	}
 
 	// If the associations were not saved correctly, roll them back to their new state but keep the errors.
-	if (!local._rv) {
+	if (!local.rv) {
 		$resetAssociationsToNew();
 	}
 
-	return local._rv;
+	return local.rv;
 }
 
 /**

) {
	$args(args=arguments, name="nestedProperties", combine="association/associations");
	arguments.association = $listClean(arguments.association);
	local._iEnd = ListLen(arguments.association);
	for (local._i=1; local._i <= local._iEnd; local._i++) {
		local._association = ListGetAt(arguments.association, local._i);
		if (StructKeyExists(variables.wheels.class.associations, local._association)) {
			variables.wheels.class.associations[local._association].nested.allow = true;
			variables.wheels.class.associations[local._association].nested.delete = arguments.allowDelete;
			variables.wheels.class.associations[local._association].nested.autoSave = arguments.autoSave;
			variables.wheels.class.associations[local._association].nested.sortProperty = arguments.sortProperty;
			variables.wheels.class.associations[local._association].nested.rejectIfBlank = $listClean(arguments.rejectIfBlank);

			// Add to the white list if it exists.
			if (StructKeyExists(variables.wheels.class.accessibleProperties, "whiteList")) {
				variables.wheels.class.accessibleProperties.whiteList = ListAppend(variables.wheels.class.accessibleProperties.whiteList, local._association, ",");
			}

		} else if (application.wheels.showErrorInformation) {
			Throw(
				type="Wheels.AssociationNotFound",
				message="The `#local._association#` assocation was not found on the #variables.wheels.class.modelName# model.",
				extendedInfo="Make sure you have called `hasMany()`, `hasOne()`, or `belongsTo()` before calling the `nestedProperties()` method."
			);
		}

}

/**
 * Internal function.
 */
public boolean function $saveAssociations(
	required any parameterize,
	required boolean reload,
	required boolean validate,
	required boolean callbacks
) {
	local.rv = true;
	local.associations = variables.wheels.class.associations;
	for (local.association in local.associations) {
		if (local.associations[local.association].nested.allow && local.associations[local.association].nested.autoSave && StructKeyExists(this, local.association)) {
			local.array = this[local.association];
			if (IsObject(this[local.association])) {
				local.array = [this[local.association]];
			}
			if (IsArray(local.array)) {

				// Get our expanded information for this association.
				local.info = $expandedAssociations(include=local.association);
				local.info = local.info[1];

				loc.iEnd = ArrayLen(local.array);
				for (local.i=1; local.i <= loc.iEnd; local.i++) {
					if (ListFindNoCase("hasMany,hasOne", local.associations[local.association].type)) {
						$setForeignKeyValues(missingMethodArguments=local.array[local.i], keys=local.info.foreignKey);
					}
					local.saveResult = $invoke(componentReference=local.array[local.i], method="save", invokeArgs=arguments);
					if (local.rv) {

						// Don't change the return value when we have already received a false.
						local.rv = local.saveResult;

					}
				}
