Adds notes to top level patterns.