cleans router interface to be simpler to implement