Add LogicalPlanner.
Improved projection handling.