Allow setting default route class.