Implemented Endpoints API.