Added public initialiser to pipe task classes.