Efficient, Pythonic bidirectional map implementation and related functionality.