Add singleton for mime type storage and tests.