(Bluefox) add unsubscribeForeignStates to adapter.