Sorry. I looked at composer/installer again. It's will throw exception if type isn't supported. Thank.