Added a get function for a constant observing_ptr.