Fix definition of patterns (just the identifier of the patterns, not the patterns per si).