Add example of #attributes method