Migrations command dumps autoload before optimizing.