Add location hash API