Added pairs to have it match the stl map interface.