Renamed url_for back to uri_for to maintain compatibility