Renamed scanNext to scanNextVersion.