r10030: Add hierarchical memory allocation to TDR's pull functions