Make text and css_class for flair optional