Add support for superscript elements in EP
