Formulas: Add an explicit expression type.
Formulas: Support 'pref'.