Should be `six.string_types` for Python 3 compatibility.