Add inline to str_with_class().