Make it work with pallet 0.8