Change all classes in Math