Make classes associate with their departments