Simplify handling of document body