Rename setAnalyzer to copyWithDefaultAnalyzer