Adding location object.