Python 3 compatability.