Attempted fix to model assignment.