Add partial pattern lists for optpats and derivpats.