Implemented more functions in the new planner.