What do you think about this? Do you think a URL Helper to cover these two things is a good idea?