Support unregistering the exchange type when the plugin is stopped.