Update doc and comments.