Refactor documentation views