Rewrite NvtContext with Map