Add unique, sort, prefix_scan
Fix warnings