Update doc. Rename function.