Added partial tree parsing