Replace std::shared_ptr with pointer