Added support for to a root element