Supported creating root element automatically