Purify toPats.