MemoryRange and Device improvement