Add to_icon method to true/false classes.