Updated the Router class to work with the changes to the Request class.