Add support for hashing/compare to RootNode