Make mime_type instance variable instead of one of attributes