`basestring` isn't Python 3 compatible.