Making it compatible with py27 and py33