Adding new UI classes with smart refresh