Support serializing null pointer references.