Adding reachability analysis when state matching occurs.