Added reset method to solvers.