doc updates; map.go changes because pairs(struct) is no longer defined