Updated handling of download pages.