Resetting mappings during refresh to pick up newly added portable types

- This broke about a year ago: 63e9fd5637d433b1d2939b87060b3ac5cd1b65a6