Added support for multiinstance sharing and phone sharing for shareItem().