Update `download` plugin to new API