Consolidate more parse tree manipulation fns under flense.model