#32 add support for attributes.