Expanded the functionality of references, formulas, and NumberUtil.