More work on batch downloader.