Removes function required only in Python 2.5.