Add PatternGuards extension