Added destructor method