Remove unnecessary auto generated endpoint.