Added CompilerPatterns class.