Added Unsafe usage option to elastic memory.