Allow access of url attributes via AsUrl in template context