Location support in API