Added the destructor.