Update internal memory allocation for nested dictionary
structures.

Build callback loop structures.