Shared memory support, still unfinished