Auto-detection for Counterpart matchers.