adding map and weakmap to doc