Improved ID manager.
Improved MemoryBlock.