Updated docs for to_string() method.