Rename parse -> newdoc to avoid a name clash.