Adding extra headers so compiler has them.
Adding a check to ShardMultiRestore.