Adds removeSmartQuotes that was removed in aa7466f.