Merge: MModule: new method `add_mclassdef` to avoid incoherent cache state.