Exclude the type attribute.