[feature] get mage Class instance