Remove most patterns.