Remove useless endpoint.