Improve usability when tasks are provided as an argument