Cleanup get-attribute with a threading macro

I thought this was more readable.