Implement destroyed method to cnn/env.