Better access to attributes.
Emit warnings on unknown attributes.