Add MIME type autocompletion to core.