Reorganized the interface of addr_map to match that of stl map.