Clean URI utils implementation