Add DelegatorAdapter::selectDelegate().
Rework and clean up LocalAdapter.
Continue reworking and update the local adapter.