Ensuring no optimiser is initialised for the serialisation spec. Promises are not serialisable and queries for stats gathering use them.