rewrite: remove url_for import from legacy api now that it's not longer needed