Added the location api.