Implement PIMPL for Xapian::Diversify