Now supports parameters and simple mathematical expressions.