Python 3 doesn't understand basestring.