Make library more dev-friendly.

Fixes #1.
I don't think it would be _a lot_ faster in real usage because there won't be many attributes in that array (we use 1). Anyway, the main reason why it is an array is because that's how the `MutationObserver` API works. (And they probably thought about performance too, btw.)