Where is this being used? Should we have this function fall back to framework mimetypes? Do we even need to have it?