Implement destruction.