Deving dematernalize samples task.