Correctly import smart_unicode. A bit of cleanup