is using ```basestring``` as the baseclass not preferred?