Fix some docs in the document module