Fix some issues with composer migration.