Expanded coverage of document tree again and added missing type signatures