Adding handler for Magento custom variables