Use an interim type to create Locations and Portals from YAML.