Made the pattern variables static readonly.