I think using ``basestring`` instead of ``(str, unicode)`` is better