Make Sparse stats objects spy-safe