Make it possible to use different ode solvers