Better mime stripping.

Because why not.