Add custom attribute
Use hash instead of array, and tweak readme.