Fixed DownloadProtocol issue on API.