First draft of the Location API