Add type to location model.