Make some hierarchy changes
Move ref_ptr from Utils