qdel for datums.

Thanks at TG codebase (I study their implementation).