Added type to composer.json