Tighten up the contraint on router params.