 }
 
 /**
-* Internal Function
-*/
+ * Internal function.
+ */
 public boolean function $setAssociations() {
-	local._associations = variables.wheels.class.associations;
-	for (local._item in local._associations) {
-		local._association = local._associations[local._item];
-		if (local._association.nested.allow && local._association.nested.autoSave && StructKeyExists(this, local._item)) {
-			if (ListFindNoCase("belongsTo,hasOne", local._association.type) && IsStruct(this[local._item])) {
-				$setOneToOneAssociationProperty(property=local._item, value=this[local._item], association=local._association, delete=true);
-			} else if (local._association.type == "hasMany" && IsArray(this[local._item]) && ArrayLen(this[local._item])) {
-				$setCollectionAssociationProperty(property=local._item, value=this[local._item], association=local._association, delete=true);
+	local.associations = variables.wheels.class.associations;
+	for (local.item in local.associations) {
+		local.association = local.associations[local.item];
+		if (local.association.nested.allow && local.association.nested.autoSave && StructKeyExists(this, local.item)) {
+			if (ListFindNoCase("belongsTo,hasOne", local.association.type) && IsStruct(this[local.item])) {
+				$setOneToOneAssociationProperty(property=local.item, value=this[local.item], association=local.association, delete=true);
+			} else if (local.association.type == "hasMany" && IsArray(this[local.item]) && ArrayLen(this[local.item])) {
+				$setCollectionAssociationProperty(property=local.item, value=this[local.item], association=local.association, delete=true);
 			}
 		}
 	}

}

/**
* Internal Function
*/
public void function $setOneToOneAssociationProperty(
	required string property,
	required struct value,

}

/**
 * Internal function.
 */
public void function $updateCollectionObject(required string property, required struct value, numeric position=0) {
	if (!arguments.position) {
		arguments.position = ArrayLen(this[arguments.property]);
