Moved some MIME stuff