Should be nice if we change this line to:
```python
elif isinstance(value, basestring):
```