Pre condition for attrs param, to ensure is a map.
Router implemented.
Can pass opts param in defpage-route as the opts param of the render om function.