Use DummyScan and KeyScan in plan builder.