Add type to composer.json