Refactor document overview and simplify it by