Instead of a type attribute, use the element name.