Tree protocol is now properly working.