Add downloading functionality.