Support 6-argument async
Fix some problems with scan. Note an outstanding issue in
exclusive_scan.