Better single-set pattern matching.