Add document number and revision.