Added clear method in DataModel