Improving new dictionary api