Use unique_ptr member instead of raw pointer