How to do things in Magento