I fell like PostgreSQL should provide it's own implementation of TypeMap (could be a subclass). Maybe we end up with something like `StringBasedKeyMap` and `OIDTypeMap` (sorry for the horrible names). In the end. I don't think we should introduce a broader API at this point in time.