Make PackScope reentrant.
Delay construction of DefaultCodexMapper.