Separate Mage class