Modified Tasks model to implement deleteValidator.