Put back code deleted in the python3 conversion