Adapt structure for composer compatibility package.