setting download.doi as @Nullable