Added preliminary support for shared memory objects and handles.