Removing unused tasks