Rework router to accept only a string URI