Fix base class for python 2.x