Fixed leftover use of "basestring"