Exclude empty strings when flattening.
Get rid of array matching options.

I don't really like it. It doesn't seem useful or valid.