Fix two classes that contain swapped code by mistake.