`str` -> `basestring`