Re-add type in composer.json