Make change in alg doc backward-compatible.