Restored old key destruction functionality.