Add location setter.