Added class to span when we do not use icons.