Update references from `matchesSelector` to `matches`.