Add passing of attribute example in readme