Added the deleteAll method in the Model class