AddFromTemplate. Decided to leave the code as before, as with refreshchildren command Content tree was on the wrong folder.