Hacked changes to make work with Python 3.4 including removing flufl.enum