Let user override mime_type