Address inconsistent type vs location_type usage

Opening for build, please ignore for now.
F401 'models' imported but unused