Remove `_uri()` hack, use `url_for()` for entity hrefs