Moved away the Tree protocol since it's used only in precompilation.