Added destroy, to be able to save the config file.