Add types for DownloadID and TaskIdentifier