Add list patterns.