Nit: would you mind using `[]` or `{}` signs rather that `<>` for `<url>`, `<download state>`, etc.? This would make this comment much more readable.