Cleanup get-attribute with a threading macro