Cleanup for IDS configuration.