Removes map for Python 3.