add enhancement to attributes in magento, support various properties