Fix undefined for point_to_doc.