Fix endpoint names.