Fixed typo
Split smartQuotes into submethods and added comments