add route flow matches routes in subclasses before superclasses