Integrate new Bulk-based scan implementation.

Fixes #401