Added code for virtual address space management.