composer: add type