Add Python 2.6 fix for model reprs.