Changed Unsafe -> UnsafeCell; removed Share

A few fixes to make master green again.

@bgamari, I'm not sure on `Share` kind here, please take a look.