Workaround to work with Python 2.7.6.