[core refactor] Make Dict_ its own type