Added URL utility functions