Simplifying type of Router