Added a getLocationType.