Revert "Add destructor".

This reverts commit c04964cec11848a2afc4aa88f4ca6e556b82e78e.