Refines document view.