Added class for holding matched route info.
Changed return type.