Fix ScanVsReduceExample, fix javadocs