Updates documentation and prunes dictionary