Improve dict_proxy/2 type.