Add new URL manipulation functions