Adds to_s to ensure better rb version compatibility