Mock in what the destructor would be.