Maybe make `docParagraph` a library internal (say not expose it to the user)?