Adding the start of intrusive ref count replacement of shared_ptr's.