Class assignment.