Download is not allowed to be null.

Perhaps the existing Haxe DB has a default value set?  Or allows null?
Either way, the code here doesn't run unless we initialise downloads to zero.
Don't die if documentation fails to generate, upload the lib anyway
Same error protection on documentation generation as what we just added to legacy
Fixes for things which still pointed to /, not /legacy/