Added pickling of sympy expressions.