Minor Planner code modification.