Added new endpoints to the server.