Adopt map patterns in routing.