Fixed type use on Python 3.x.