Added option for adding a class to the icons.