Tasks class allows neater creation of composed tasks