Renamed adapter to endpoint