renaming from M* to G*, eg. MTyper -> GTyper