Simple tree parsing