Document tree addChild return value