feature(mellow) getRoot: set default mode