Removing unused endpoint