I'm not 100% sure we want to expose the cosmetic attributes as class attributes. In XML, for example, my-attr-name is a perfectly legal attribute, but it's an illegal Python variable name. Maybe we ...