Adding PatternAnalyzer