Fix use of attrs => attributes

I believe this was a copy and paste error, but the undefined attrs was used when it seems like it should be attributes.
Merge pull request #3 from ebrentnelson/patch-1

Fix use of attrs => attributes