Add Magento framework detection