Change multiply to work with expressions.