Patterns - Add declarations to the top level of a pattern language