refactor(download): remove unused functions