Added mathematical functions support.