Renaming MG classes