Add event to Magento object generation
Create XML on Magento object generation