Changes to the API for downloading