Added shared memory wrappers