Shorten 'uniqueArray' to 'set'
Improve function signature for modifyClassList()