Revert "Corrected destructor in model"

This reverts commit f57194f19b9c23cc06230d52ca1d1381de0b0e1f.