Rename @attributes to @attrs

I was getting a name clash with AR @attributes so I have renamed it