Make dispatcher pass router via params instead of use