Finish router functionality