Support extra mimes in viewer