Generated Element type now depend on the tag name.