raise exception when given too large document
raise exception when document does not exist in
DOC_HEADER changes immutable