Switches classes.