Fix namespacing in lib/locations_api.