Change class assignment.