Python 3 compatibility (0.1.1)