Add make-set task factory that accepts extra dependencies.