adds correct type to composer