Changed lazylookup pointers to dynamic allocation