API changes to DependentPatternMatcher.