Name: Added toUri and deprecated to_uri.