Should we be paranoid and make this self._register_mime_type and use

private_class_method :_register_mime_type