[feature] access mage class instance
--amend