Added planner
Fewer queries processing the planner.