Add "type" attribute to Virtual Node Elements