What's going on here? Can't you just use the functions in `dict`?