Removes Magento specific code