Added generic endpoint adapter.