Clean up solution.