Add url helper to models