Clean up planner.