Task deletion functions now return boolean value.