Eliminate calls to getIdentifier and isGlobal.
Either determine mime type in constructor, or fail.