Added setRoot()