Add view extension to expose URL functions inside templates.