Use the right struct with the PDF stats callbacks