symbol: add builder for symbols to tree.