Composer: set proper type.