Fixed router mix-in to accept routes a argument instead of get it from the define statement