Implemented node branching.