 }
 
 /**
-* Internal Function
-*/
+ * Internal function.
+ */
 public void function $setCollectionAssociationProperty(
 	required string property,
 	required any value,
 	required struct association,
 	boolean delete=false
 ) {
-	local._model = model(arguments.association.modelName);
+	local.model = model(arguments.association.modelName);
 	if (!StructKeyExists(this, arguments.property) || !IsArray(this[arguments.property])) {
 		this[arguments.property] = [];
 	}

				$updateCollectionObject(property=arguments.property, value=arguments.value[local._item]);
			} else {
				// get our primary keys
				local._keys = local._model.primaryKey();
				local._itemArray = ListToArray(local._item, ",", true);
				local._iEnd = ListLen(local._keys);
				for (local._i=1; local._i <= local._iEnd; local._i++) {

}

/**
 * Internal function.
 */
public any function $getAssociationObject(
	required string property,
	required struct value,
	required struct association,
	required boolean delete
) {
	local.object = false;
	local.delete = false;
	local.args = {};
	local.model = model(arguments.association.modelName);

	// Check to see if the struct has all of the keys we need from rejectIfBlank.
	if ($structKeysExist(struct=arguments.value, properties=arguments.association.nested.rejectIfBlank)) {

		// Get our primary keys, if they don't exist, then we create a new object.
		local.args.key = $createPrimaryKeyList(params=arguments.value, keys=local.model.primaryKey());
		if (IsObject(arguments.value)) {
			local.object = arguments.value;
		} else if (Len(local.args.key)) {
			local.object = local.model.findByKey(argumentCollection=local.args);
		}

		if (StructKeyExists(arguments.value, "_delete") && IsBoolean(arguments.value["_delete"]) && arguments.value["_delete"]) {
			local.delete = true;
		}
		if (!IsObject(local.object) && !local.delete) {
			StructDelete(local.args, "key");
			return $invoke(componentReference=local.model, method="new", invokeArgs=local.args);
		} else if (Len(local.args.key) && local.delete && arguments.association.nested.delete && arguments.delete) {
			$invoke(componentReference=local.model, method="deleteByKey", invokeArgs=local.args);
			return false;
		}
	}
	return local.object;
}

/**
