Use persistent mapping, not dict.