Batch up addClass and removeClasses, introduce binding finalizations