Added support for deleting tasks