Added pickler for integrators and test.