Adapted to the new, rewritten RDF_SERIAL.