Added a string_of_status function.