Blocking and non-blocking deletion of branches. AddChildren function.