Clean up and cast to send stat data.