Added reachability checking.