Add disjunctive and conjunctive patterns.