Added a patterns method to the router
Fix spacing and order.
Merge branch '4.2'