snapshot from 67fc3cb0d3aa
Exposed scanner API.
Travising.