Add a `pop` method to `TypeMap`