Allow setting default route class for RouteBuilder.