Make init more convenient for Magento