Make EntityScanner implement Iterator too.
Make EntityScanner extend DatasetReader