Pretty printing document results.