Make compatible with Composer 2