Fix up document metadata and header remarks.