Replacing Zend with Magento