Add `Erase` method to `Dictionary` class.

It can be used to remove entries from the dictionary.