[FOLD] Remove legacy endpoint code