Refactor document overview and simplify it.