Fixed DeprecationWarning under Python 3.3