no point in using backport.
cleaned up imports.
Dropped unused member of XSD (isRoot)