Finished adding the nice SMT interface for defining static functions in the constraint solver.