Reimplement scan with map_with_location.
Add scan documentation
Add disable_parakeet decorator; minor refactor

Reduce duplicate code in _scan_mapper.