Fix instantiation of pattern synonyms