Add doc for replace option.