Support Python 3.4
Restore support for Python 2.6