Removing unnecessary endpoint