use Element.tag with typeExtension argument
extend from the correct class