Add the discover endpoint.